package com.traffic.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 日常报销对象 daily_reimbursement
 * 
 * @author ywt
 * @date 2024-09-19
 */
public class DailyReimbursement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 申请人部门 */
    @Excel(name = "申请人部门")
    private String department;

    /** 申请人姓名 */
    @Excel(name = "申请人姓名")
    private String name;

    /** 具体原因 */
    @Excel(name = "具体原因")
    private String reason;

    /** 报销金额 */
    @Excel(name = "报销金额")
    private BigDecimal amount;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 报销票据图片路径 */
    @Excel(name = "报销票据图片路径")
    private String receiptImage;

    /** $column.columnComment */
    private Long isdel;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setDepartment(String department) 
    {
        this.department = department;
    }

    public String getDepartment() 
    {
        return department;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setReason(String reason) 
    {
        this.reason = reason;
    }

    public String getReason() 
    {
        return reason;
    }
    public void setAmount(BigDecimal amount) 
    {
        this.amount = amount;
    }

    public BigDecimal getAmount() 
    {
        return amount;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setReceiptImage(String receiptImage) 
    {
        this.receiptImage = receiptImage;
    }

    public String getReceiptImage() 
    {
        return receiptImage;
    }
    public void setIsdel(Long isdel) 
    {
        this.isdel = isdel;
    }

    public Long getIsdel() 
    {
        return isdel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("department", getDepartment())
            .append("name", getName())
            .append("reason", getReason())
            .append("amount", getAmount())
            .append("status", getStatus())
            .append("receiptImage", getReceiptImage())
            .append("createTime", getCreateTime())
            .append("isdel", getIsdel())
            .toString();
    }
}
